<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">

	function tellFortune (name,numberKids,jobTitle,location,)
	{
		alert("You will be "+ name + "asdasd" + numberKids + "lives in" + location + "and has the working title" + title );
		}

</script>
<title>Documento sin título</title>
</head>
<form>
name : <input type="text" id="name" />
number : <input type="text" id="number" />
geographic location : <input type="text" id="location" />
title : <input type="text" id="titulo" />

<input type="button" value="click" onclick="tellFortune(document.getElementById('name').value,document.getElementById('number').value,document.getElementById('location').value,document.getElementById('titulo').value;" />
</form>
<body>
</body>
</html>
